package com.meicet.adapter.view

import android.view.View

interface StatusListener {

    fun setCallBackStatus(callBack: OnCallBackStatus)

    fun getStatusView(): View

    fun setTextColor(color: Int)
    fun setTextSize(textSP: Float)
    fun showEmpty(info: String = "")
    fun showLoading(info: String = "")
    fun showError(info: String = "")
    fun showContent()

    interface OnCallBackStatus {
        fun onClickError(isEmpty: Boolean)
    }
}
